-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: DIDResolution header changes [DEV-4721] #336
Conversation
sownak
commented
Feb 11, 2025
- new GetPriorityContentType to get prioritized acceptHeader (uses "github.com/timewasted/go-accept-headers" package)
- handles DID Doc only, no DIDDoc metadata for application/did+json, application/did, application/did+ld+json
- handles full resolution for / and application/ld+json;profile="https://w3id.org/did-resolution"
- Moved /metadata route to diddoc/routes
8a6d333
to
3905a85
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
PR reviews should be requested when:
- Tests are not failing (they currently seem to be failing)
- PR is not set to draft (that automatically means it's still being worked on)...unless the intention is to ask for a WIP review?
3905a85
to
9713b6f
Compare
Signed-off-by: Sownak Roy <sownak@cheqd.io>
a4fcc08
to
718149a
Compare
@ankurdotb This is a draft PR. The Integration tests are in progress mainly. |
Signed-off-by: Sownak Roy <sownak@cheqd.io>
@ankurdotb this PR is ready for review, it also contains @DaevMithran's changes. @DaevMithran I have modified your resource/metadata code and related testcases, when /metadata or correct profile is asked, we do not have to return the |
Definitely this is now a big PR because the default has been updated in the testcases. Also, I will keep on adding more testcases |
@sownak can we target this PR to DEV-4722. So that it's easier to review |
Signed-off-by: Sownak Roy <sownak@cheqd.io>
8c17718
to
1a3f2c8
Compare
Signed-off-by: Sownak Roy <sownak@cheqd.io>
Signed-off-by: Sownak Roy <sownak@cheqd.io>
Signed-off-by: Sownak Roy <sownak@cheqd.io>
Signed-off-by: Sownak Roy <sownak@cheqd.io>
Signed-off-by: Sownak Roy <sownak@cheqd.io>
Signed-off-by: Sownak Roy <sownak@cheqd.io>
Signed-off-by: Sownak Roy <sownak@cheqd.io>